package com.mycontact.client;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.place.shared.PlaceController;
import com.mycontact.client.ui.EditContactMainPanel;
import com.mycontact.client.ui.ViewContactMainPanel;
import com.mycontact.shared.MycontactRequestFactory;

public interface ClientFactory {
	EventBus getEventBus();
	PlaceController getPlaceController();
	void initializeRequestFactory();
	MycontactRequestFactory getRequestFactory();
	ViewContactMainPanel getViewContactMainPanel();
	EditContactMainPanel getEditContactMainPanel();
	void setSelectedContactId(String contactId);
	String getSelectedContactId(); // we can use ContactProxy here, and not use Token for EditContactPlace
}
